<template>
  <div class="split-container">
    <div class="line"/>
    <div class="inner-title">
      <img src="@/assets/imgs/home_line.png">
      <span>{{ title }}</span>
      <img src="@/assets/imgs/home_line.png">
    </div>
    <div class="line"/>
  </div>
</template>
<script>
export default {
  name: 'SplitLine',
  props: {
    title: String
  }
}
</script>
<style lang="less" scoped>
.split-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
    padding: 25px 10px 20px 10px;
    .line{
        border-bottom: 1px solid #eee;
        width: 25%;
    }
    .inner-title{
        display: flex;
        align-items: center;
        span{
            font-size: 16px;
            color: #333333;
            font-weight: bold;
            padding: 0 10px;
        }
        img{
            width: 18px;
            height: 10px;
            vertical-align: middle;
        }
    }
}
</style>
